Display the RSTP Role

Perform the following procedure to display the RSTP information.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display the RSTP role:

    show spanning-tree rstp port role [{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}]

Example

Display the RSTP role:

Switch:1> show spanning-tree rstp port role 1/3
================================================================================
                           RSTP Port Roles and States
================================================================================
Port-Index  Port-Role    Port-State   PortSTPStatus  PortOperStatus
--------------------------------------------------------------------------------
1/3        Designated   Forwarding   Enabled        Enabled

Variable definitions

Use the data in the following table to use optional parameters with the show spanning-tree rstp port role command.

Variable

Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.